/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2023-2023. All rights reserved.
 */

import { Component } from '@ohos/sdkmanager-common';
import path from 'path';

import { SdkComponent } from '../superior/sdk-component.js';

/**
 * arkuix 实例
 *
 * @since 2023-05-04
 */
export class SdkArkUIXComponent extends SdkComponent {
  readonly ARKUI_X_ROOT = 'arkui-x';

  constructor(component: Component) {
    super(component);
  }

  getArkUIXRootPath(): string {
    return path.resolve(this.getBaseDir(), this.ARKUI_X_ROOT);
  }
}
